<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="author" content="广州依旧电子商务有限公司--http://www.19DZ.com" />
		<title>资讯信息</title>
		<link rel="stylesheet" type="text/css" href="/mc/Public/Home/mc/css/style.css" />
		<link rel="stylesheet" type="text/css" href="/mc/Public/Home/mc/css/idangerous.swiper.css" />
	</head>

	<body>
		<!--头部-->
				<div class="header">
			<div class="main">
				<a href="http://localhost:8080/mc" class="logo fl"><img src="/mc/Public/Home/mc/img/logo.png" /></a>
				<ul class="header-nav fl">
					<li class="fl"><a href="http://localhost:8080/mc">首 页</a></li>
					<?php
 $_typeid = 0; if($_typeid == -1) $_typeid = I('cid', 0, 'intval'); $_navlist = get_category(1); if($_typeid == 0) { $_navlist = Common\Lib\Category::toLayer($_navlist); }else { $_navlist = Common\Lib\Category::toLayer($_navlist, 'child', $_typeid); } foreach($_navlist as $autoindex => $navlist): $navlist['url'] = get_url($navlist); ?><li class="fl"><a href='<?php echo ($navlist["url"]); ?>'><?php echo ($navlist["name"]); ?></a></li><?php endforeach;?>
<!-- 					<li class="fl"><a href="#">首页</a></li>
					<li class="fl"><a href="schoolContest.html">校园大赛</a></li>
					<li class="fl"><a href="schoolUnion.html">校园联盟</a></li>
					<li class="fl"><a href="http:/www.19Dz.com">创业定制</a></li>
					<li class="fl"><a href="orginzeFramework.html">组织架构</a></li>
					<li class="fl"><a href="schoolBusiness.html">校企对接</a></li> -->
				</ul>

				<div class="header_right fl" id="top_login_no">
					<a href="<?php echo U(MODULE_NAME.'/Public/login');?>">登录</a>
					<span>▏</span>
					<a href="<?php echo U(MODULE_NAME.'/Public/register');?>">注册</a>
				</div>

				<div class="header_right fl" id="top_login_ok" style="display:none;">
					<a href="javascript:void(0)" id="nickname">xxx</a>	
					<span>▏</span>
					<a href="<?php echo U(MODULE_NAME.'/Public/logout');?>">退出</a>
				</div>
			</div>
		</div>

<script type="text/javascript" src="/mc/Public/Home/mc/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript">

$(function(){
	var $chkurl = "<?php echo U('Public/loginChk');?>";
	$.get($chkurl,function(data){
		if (data.status == 1) {
			$('#top_login_no').hide();
			$('#top_login_ok').show();
			
			//$('#top_login_ok').find('span');
			$('#nickname').html(data.nickname);
		}else {			
			$('#top_login_ok').hide();
			$('#top_login_no').show();
		}
	},'json');	
});
</script>
		<!--头部  End-->

		<div class="sBmain">
			<div class="sBmain-s">
				<div class="sBsearch">
					<div style="font-size: 26px;color: #6484fc">校企对接</div>
					<div style="display: flex;flex-direction: row;align-items: center;">
						<input class="sBtext" type="text" id="key" value="<?php echo ($keyword); ?>">
						<input class="sBbutton" type="button" value="搜索" >
					</div>
					<form method="post" action='<?php echo U("list/index",array("cid"=>$_GET["cid"]));?>' id="form">
						<input type="hidden" name="keyword" id="keyword" value="<?php echo ($keyword); ?>"/>
						<input type="hidden" name="industryid" id="industryid" value="<?php echo ($industryid); ?>"/>
						<input type="hidden" name="xqdj1id" id="xqdj1id" value="<?php echo ($xqdj1id); ?>"/>
						<input type="hidden" name="xqdj2id" id="xqdj2id" value="<?php echo ($xqdj2id); ?>"/>
						<input type="hidden" name="xqdj3id" id="xqdj3id" value="<?php echo ($xqdj3id); ?>"/>
						<input type="hidden" name="cid" value="<?php echo ($_GET['cid']); ?>"/>
						<input type="hidden" name="p" id="p" value=""/>
					</form>
				</div>
				<div class="sBsearchContent" style="border-top: 2px solid #f59d1b;padding-top: 27px;">
					<div class="sBkind">
						<div class="sBkind-content">
							<span class="fl" style="font-size: 14px;">所属行业</span>
							<ul class="fl sB-ul" id="i">
								<li class="fl">全部</li>
								<?php if(is_array($industry)): foreach($industry as $key=>$v): ?><li class='fl <?php if($industryid == $key): ?>active<?php endif; ?>' id="<?php echo ($key); ?>"><?php echo ($v); ?></li><?php endforeach; endif; ?>
							</ul>
						</div>
						<div class="sBkind-content">
							<span class="fl" style="font-size: 14px;">产品类型1</span>
							<ul class="fl sB-ul" id="v1">
								<li class="fl">全部</li>
								<?php if(is_array($xqdj1)): foreach($xqdj1 as $key=>$v1): ?><li class='fl <?php if($xqdj1id == $key): ?>active<?php endif; ?>' id="<?php echo ($key); ?>"><?php echo ($v1); ?></li><?php endforeach; endif; ?>
							</ul>
						</div>
						<div class="sBkind-content">
							<span class="fl" style="font-size: 14px;">产品类型2</span>
							<ul class="fl sB-ul" id="v2">
								<li class="fl">全部</li>
								<?php if(is_array($xqdj2)): foreach($xqdj2 as $key=>$v2): ?><li class='fl <?php if($xqdj2id == $key): ?>active<?php endif; ?>' id="<?php echo ($key); ?>"><?php echo ($v2); ?></li><?php endforeach; endif; ?>
							</ul>
						</div>
						<div class="sBkind-content" style="border: 0px;">
							<span class="fl" style="font-size: 14px;">产品类型3</span>
							<ul class="fl sB-ul" id="v3">
								<li class='fl <?php if($xqdj3id == $key): ?>active<?php endif; ?>'>全部</li>
								<?php if(is_array($xqdj3)): foreach($xqdj3 as $key=>$v3): ?><li class="fl " id="<?php echo ($key); ?>"><?php echo ($v3); ?></li><?php endforeach; endif; ?>
							</ul>
						</div>
					</div>
					<div class="sBsearchContent-list">
						<?php if(is_array($vlist)): foreach($vlist as $key=>$vo): ?><a href="<?php echo ($vo["url"]); ?>"><div class="sB-list sB-marb">
							<img class="list-img" src="<?php echo ($vo["litpic"]); ?>">
							<div class="sB-list" style="flex-direction: column;">
								<div class="sB-list-title"><?php echo ($vo["title"]); ?></div>
								<div class="sB-list-stitle">
									<span><?php echo ($vo['keywordArr'][0]); ?></span>
									<span><?php echo ($vo['keywordArr'][1]); ?></span>
									<span><?php echo ($vo['keywordArr'][2]); ?></span>
								</div>
								<div class="sB-list-content">
									<?php echo ($vo["description"]); ?>
								</div>
							</div>
						</div></a><?php endforeach; endif; ?>
						
						<div class="sB-button">
							<?php echo ($page); ?>
						</div>
					</div>
				</div>
			</div>
		</div>


		<!--尾部-->
				<div class="footer">
			<div class="main">
				<div class="footer_left fl">
					<dl>
						<dt>我们的服务</dt>
						<a href="#">
							<dd>某某服务</dd>
						</a>
						<a href="#">
							<dd>某某服务</dd>
						</a>
						<a href="#">
							<dd>某某服务</dd>
						</a>
					</dl>
					<dl>
						<dt>热门话题</dt>
						<a href="#">
							<dd>某某服务</dd>
						</a>
						<a href="#">
							<dd>某某服务</dd>
						</a>
						<a href="#">
							<dd>某某服务</dd>
						</a>
					</dl>
					<dl>
						<dt>友情链接</dt>
						<a href="#">
							<dd>某某服务</dd>
						</a>
						<a href="#">
							<dd>某某服务</dd>
						</a>
						<a href="#">
							<dd>某某服务</dd>
						</a>
					</dl>
				</div>
				<div class="footer_right">
					<img src="/mc/Public/Home/mc/img/QRcode1.jpg" class="fl"/>
					<img src="/mc/Public/Home/mc/img/QRcode2.jpg" class="fl"/>
				</div>
			</div>
			<div class="footer_bottom">
				<div class="main">
					<div class="footer_bottom_left">
						Copyright &copy; 2008-2015 广州大学生创业定制平台
					</div>
					<div class="footer_bottom_right">
						<a href="#">关于我们</a>
						<span>▏</span>
						<a href="#">联系我们</a>
						<span>▏</span>
						<a href="#">友情链接</a>
					</div>
				</div>
			</div>
		</div>
		<!--尾部   End-->

		<script type="text/javascript" src="/mc/Public/Home/mc/js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="/mc/Public/Home/mc/js/idangerous.swiper.min.js"></script>
		<script type="text/javascript" src="/mc/Public/Home/mc/js/myjs.js"></script>
		<script>
			$(".sBbutton").click(function(){
				var i = $("#i .active").attr('id');
				var xqdj1 = $("#v1 .active").attr('id');
				var xqdj2 = $("#v2 .active").attr('id');
				var xqdj3 = $("#v3 .active").attr('id');
				var keyword = $("#key").val();
				if(i){
					$("#industryid").val(i);
				}else{
					$("#industryid").val('');
				}

				if(xqdj1){
					$("#xqdj1id").val(xqdj1);
				}else{
					$("#xqdj1id").val('');
				}
				if(xqdj2){
					$("#xqdj2id").val(xqdj2);
				}else{
					$("#xqdj2id").val('');
				}

				if(xqdj3){
					$("#xqdj3id").val(xqdj3);
				}else{
					$("#xqdj3id").val('');
				}
				if(keyword){
					$("#keyword").val(keyword);
				}else{
					$("#keyword").val('');
				}

				$("#p").val(1);
				$("#form").submit();

			});
		</script>
	</body>

</html>